Planaday\Database\SQLDatabaseControllers\DayPart\SQLDayPartDatabase S

Total Complexity 21
Dependencies 5
Dependents 2
Total lines 93
Lines of code 53
Logical lines of code 25
Comment lines 13
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
getCreateTableQuery()
S
62 7 10
isDatabaseValid()
S
74 3 5
__construct()
S
74 1 5
setDayPart()
S
81 1 3
getDayPartsByCourseId()
S
80 1 3
getDayPartById()
S
80 1 3
getAll()
S
81 1 3
setAll()
S
81 1 3
getEarliestDayPartCourse()
S
79 1 3
courseHasDayPartsInPast()
S
80 1 3
getDropTableQuery()
S
71 1 6
getCountAll()
S
81 1 3
getAllRaw()
S
81 1 3